package org.vaillant.todo

class StatusHistory {

	Date dateCreated
	Date lastUpdated
	
	static belongsTo = [tasks:Task,status:Status]
	
    static constraints = {
		tasks(nullable:true)
		status(nullable:true)
    }
	
	static mapping = {
		sort dateCreated:"asc"
	}
}
